package com.ruoyi.ams.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 盘盈对象 ams_asset_inventory_surplus
 * 
 * @author yfkj
 * @date 2022-05-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AmsAssetInventorySurplus
{
    private static final long serialVersionUID = 1L;
    /** 盘盈表主键 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "${comment}")
    private Long inventorySurplusId;
    /** 盘点单表主键 */
    @Excel(name = "盘点单表主键")
    @TableField(exist = true)
    @ApiModelProperty(value =  "盘点单表主键")
    private Long inventoryId;
    /** 盘盈资产主键 */
    @Excel(name = "盘盈资产主键")
    @TableField(exist = true)
    @ApiModelProperty(value =  "盘盈资产主键")
    private Long assetId;
    public static final String INVENTORY_SURPLUS_ID="inventory_surplus_id";
    public static final String INVENTORY_ID="inventory_id";
    public static final String ASSET_ID="asset_id";
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inventorySurplusId", getInventorySurplusId())
            .append("inventoryId", getInventoryId())
            .append("assetId", getAssetId())
            .toString();
    }
}
